<?php

require_once 'ActionFramework/start.php';
require_once 'views/all.cls.php';

/**
 * Edit the criteria and return to the edit criteria view.
 */
class TryResetPasswordAction extends Action {
	
	const INPUT_SECRET = 'secret';
	
	public function __construct() {
		parent::__construct();
		$this->add_input(new input(TryResetPasswordAction::INPUT_SECRET));
	}
	
	public function trigger($request) {
		return new TryResetPasswordView($request[TryResetPasswordAction::INPUT_SECRET]);
	}
}

?>